< Prev(J) / Next(K) > / View :

Filename: /text/scalc/guide/relativ_absolut_ref.xhp

(bookmark: bm_id3156423)
addressing; relative and absolute
references; absolute/relative
absolute addresses in spreadsheets
relative addresses
absolute references in spreadsheets
relative references
references; to cells
cells; references

表計算ドキュメントの参照
参照; 絶対、相対
表計算ドキュメントの絶対参照
相対参照
表計算ドキュメントの絶対参照
相対参照
参照; セル
参照; 色分けする
セル; 参照

(variable: relativ_absolut_ref)Addresses and References, Absolute and Relative
(variable: relativ_absolut_ref)セルの絶対参照と相対参照(hd_id3156423.53)

Relative Addressing
相対参照(hd_id3163712.3)

The cell in column A, row 1 is addressed as A1. You can address a range of adjacent cells by first entering the coordinates of the upper left cell of the area, then a colon followed by the coordinates of the lower right cell. For example, the square formed by the first four cells in the upper left corner is addressed as A1:B2.
セル A1 は、A 列 1 行に位置しています。ひと続きなっているセル範囲は、一番左上のセル番号と一番右下のセル番号をコロンでつないで表します。例えば、表の一番左上の縦2つx横2つのセルからなる範囲は A1:B2 となります。(par_id3146119.4)

By addressing an area in this way, you are making a relative reference to A1:B2. Relative here means that the reference to this area will be adjusted automatically when you copy the formulas.
範囲を A1:B2 のように呼ぶことを相対参照といいます。相対とはこの場合、数式をコピーした際に参照が修正されることを意味します。(par_id3154730.5)

Absolute Addressing
絶対参照(hd_id3149377.6)

Absolute references are the opposite of relative addressing. A dollar sign is placed before each letter and number in an absolute reference, for example, $A$1:$B$2.
相対参照とは異なり、絶対参照はアルファベットと数字の前にドル記号を付けて $A$1:$B$2 のように表します。(par_id3154943.7)

Tip Icon ヒント Office can convert the current reference, in which the cursor is positioned in the input line, from relative to absolute and vice versa by pressing Shift +F4. If you start with a relative address such as A1, the first time you press this key combination, both row and column are set to absolute references ($A$1). The second time, only the row (A$1), and the third time, only the column ($A1). If you press the key combination once more, both column and row references are switched back to relative (A1)
Office では (Shift)+(F4) を使うと、カレントセルの参照の相対・絶対が切りかえられます。例えば A1 (相対参照)は、(Shift)+(F4) を押すと行列ともに絶対参照($A$1)にかわり、もう一度押すと行のみが絶対参照(A$1)に、さらにもう一度押すと列のみ($A1)、そして最後に行列ともに相対参照(A1)に戻ります。(par_id3147338.36)

Office Calc shows the references to a formula. If, for example you click the formula =SUM(A1:C5;D15:D24) in a cell, the two referenced areas in the sheet will be highlighted in color. For example, the formula component "A1:C5" may be in blue and the cell range in question bordered in the same shade of blue. The next formula component "D15:D24" can be marked in red in the same way.
Office Calc は、数式に使用されているセル範囲を視覚的にわかりやすく表示します。例えば、セルに入力されている数式 =SUM(A1:C5;D15:D24) をクリックすると、シート内の2つの参照範囲がともに色付きで表示されます。数式の第1項 A1:C5 は青色表示に変り、それに相当するセル範囲は同じ青色の枠で囲まれます。数式第2項 D15:D24 は同様に赤色で表示されます。(par_id3153963.52)

When to Use Relative and Absolute References
絶対参照と相対参照の使い分け(hd_id3154704.29)

What distinguishes a relative reference? Assume you want to calculate in cell E1 the sum of the cells in range A1:B2. The formula to enter into E1 would be: =SUM(A1:B2). If you later decide to insert a new column in front of column A, the elements you want to add would then be in B1:C2 and the formula would be in F1, not in E1. After inserting the new column, you would therefore have to check and correct all formulas in the sheet, and possibly in other sheets.
相対参照は何を表しているのでしょうか。たとえばセル E1 にセル範囲 A1:B2 の合計を表示するとしましょう。E1 には数式 =SUM(A1:B2) を入力しました。ところが後になって、列 A の前に 1 列新しい列を挿入することにしました。そうすると、合計を出すセル範囲は B1:C2 に変り、数式の位置も E1 ではなく F1 に変わってしまいます。つまり、新しい列を挿入した後に、シート内の(あるいは別のシートにある)すべての数式のチェック、修正が必要になるように考えられます。(par_id3147346.8)

Fortunately, Office does this work for you. After having inserted a new column A, the formula =SUM(A1:B2) will be automatically updated to =SUM(B1:C2). Row numbers will also be automatically adjusted when a new row 1 is inserted. Absolute and relative references are always adjusted in Office Calc whenever the referenced area is moved. But be careful if you are copying a formula since in that case only the relative references will be adjusted, not the absolute references.
しかし Office では、列を挿入または削除すると、その調整が自動的に行われます。新しい列 A を挿入すると、数式 =SUM(A1:B2) は自動的に =SUM(B1:C2) に変更されます。同様に、新しい行を挿入すると、数式内の行番号は自動的に変更されます。Office Calc では、参照されているセル範囲が変更されると、絶対参照と相対参照は必ず自動的に変更されます。しかし、数式をコピーするときには注意が必要です。この場合、相対参照だけが変更され、絶対参照は変更されません。(par_id3155335.9)

Absolute references are used when a calculation refers to one specific cell in your sheet. If a formula that refers to exactly this cell is copied relatively to a cell below the original cell, the reference will also be moved down if you did not define the cell coordinates as absolute.
絶対参照は、シート内の特定のセルを参照する場合に使用します。このセルを参照している数式を元のセルの下方向のセルにコピーすると、絶対参照でセルを参照していない限り、参照も自動的に下方向に変更されます。(par_id3145791.39)

Aside from when new rows and columns are inserted, references can also change when an existing formula referring to particular cells is copied to another area of the sheet. Assume you entered the formula =SUM(A1:A9) in row 10. If you want to calculate the sum for the adjacent column to the right, simply copy this formula to the cell to the right. The copy of the formula in column B will be automatically adjusted to =SUM(B1:B9).
新しい行や列を挿入する場合以外にも、特定のセルを参照している数式を同じシートの別の範囲にコピーすると、参照は変更されます。たとえば、数式 =SUM(A1:A9) をセル A10 に入力していると仮定します。この右にある列の合計を計算する場合、セル A10 の数式をセル B10 にコピーするだけでかまいません。セル B10 にコピーされた数式は自動的に変更され、=SUM(B1:B9) になります。(par_id3147005.10)

(embed text/scalc/guide/value_with_name.xhp#value_with_name : linkinfo)

Naming Cells
セルに名前を付ける(hd_id3147434.1)

(/embed text/scalc/guide/value_with_name.xhp#value_with_name)

(embed text/scalc/guide/address_auto.xhp#address_auto : linkinfo)

Recognizing Names as Addressing
名前を参照として使う(hd_id3148797.20)

(/embed text/scalc/guide/address_auto.xhp#address_auto)


< Prev / Next >